package com.spring.framework.aop.turing;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TulingMainClass {

	public static void main(String[] args) {

		AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(MainConfig.class);

		Calculate calculate = (Calculate) ctx.getBean("tulingCalculate");
		int retVal = calculate.div(2, 1);

        /*
         ProgramCalculate pcalculate = (ProgramCalculate) ctx.getBean("tulingCalculate");
        System.out.println(pcalculate.toBinary(100));
        */

	}

}
